package com.example.demo3.mapper;

import com.example.demo3.entity.Application;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
//①数据库层：从数据库取出数据
@Mapper
public interface ApplicationMapper {
//    @Select("SELECT major_name, university_name, plans, ranking FROM application1 LIMIT 500, 3")
    List<Application> selectList();
//    Application selectById(Integer id);
//    void deleteApplication(Application application);
//    void updataApplication(Application application);
//    void addApplication(Application application);
}
